#define total 23//总景点数

enum spot{
    未定义=0,云谷寺=1,白鹅岭,白鹅新站,石笋崖,始信峰,北海宾馆狮林大酒店,猴子观海,松谷庵站,大王松,排云楼宾馆排云亭西海饭店,丹霞峰,丹霞站,排云溪站,天海站,白云宾馆,光明顶,迎客松,天都峰,新道口,慈光阁,玉屏索道上站,步仙桥,吊桥庵
};

struct Distance{
    spot spot1;
    spot spot2;
    unsigned short distance;
    unsigned short time;
    unsigned short money;
    
};




struct Way{
    unsigned short steps;
    unsigned short cost;
    spot *path;

};

int cost_simple(spot spot1,spot spot2,Distance spots[total]);
int insert(spot spot1, spot spotarr[]);
int drop(spot spot1, spot spotarr[]);
void showSpots(spot spotarr[], int num);
void showWays(Way wayarr[]);
void deep_copy(spot spotarr[],spot now[]);
void editPath(Way pathSource[],int index,int last_index ,spot step);
void addnum(int &a);//这很重要但别问我为什么